<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gift_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-gift_type" data-rule="required" class="form-control selectpicker" name="row[gift_type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row['gift_type']"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gift_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gift_amount" data-rule="required" class="form-control form-control" step="0.01" name="row[gift_amount]" type="number" value="{$row.gift_amount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_number" data-rule="required" class="form-control form-control" name="row[day_number]" type="number" value="{$row.day_number}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
